﻿Imports System.Data

Partial Class Reportes_HuespedesPorPeriodo
    Inherits System.Web.UI.Page

    Protected Sub btnReporte_Click(sender As Object, e As EventArgs) Handles btnReporte.Click
        Dim dvSql As DataView = DirectCast(SqlDataSourceReporte.Select(DataSourceSelectArguments.Empty), DataView)

        txtCantHuespedes.Text = dvSql.ToTable.Rows(0)(0).ToString()


    End Sub

    Protected Sub calDesde_SelectionChanged(sender As Object, e As EventArgs) Handles calDesde.SelectionChanged
        lblDesde.Text = calDesde.SelectedDate
    End Sub

    Protected Sub calHasta_SelectionChanged(sender As Object, e As EventArgs) Handles calHasta.SelectionChanged
        lblHasta.Text = calHasta.SelectedDate
    End Sub

    Protected Sub txtCantHuespedes_TextChanged(sender As Object, e As EventArgs) Handles txtCantHuespedes.TextChanged

    End Sub
End Class
